<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<link rel="stylesheet" href="css/bootstrap.css" />
	<link rel="stylesheet" href="css/wall.css" />
	<title>新目标</title>
	<script type="text/javascript" src="js/jquery.js"></script>
	<style type="text/css">
		.first-1{
			padding-top:50px;
			height:50px;	
			}
		.sed-1{
			margin-left:200px;
			padding-top:30px;
			}
		body{
			background-image:url(img/scribble_light.png);
		}
		#form{
			margin-left:150px;
		}
	</style>
</head>
<body class="body">
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a href="#" class="brand">项目管理软件</a>
			</div>
		</div>
	</div>
	<div class="container" id="form">		
		<form class="form-horizontal" action="task.jspx?_m=save&goalid=${goal.id }" id="myform" method="post">
			<fieldset class="first-1">
				<div>
					<h3 style="height:80px;">添加新任务</h3>
				</div>	
				<div class="control-group">
					<label class="control-label" for="input01">任务名称</label>
					<div class="controls">
						<input type="text" class="span5" name="taskname">						
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="input01">开始时间</label>
					<div class="controls">
						<input type="text" class="span5" name="starttime" >						
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="input01">结束时间</label>
					<div class="controls">
						<input type="text" class="span5" name="endtime" >						
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="input01">任务描述</label>
					<div class="controls">
						<textarea class="span5" rows="8" name="tasktext"></textarea>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="multiSelect">状态</label>
					<div class="controls">
						<select name="status">
							<option>新任务</option>
							<option>进行中</option>
							<option>已完成</option>
						</select>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="multiSelect">级别</label>
					<div class="controls">
						<select name="level">
							<option>重要紧急</option>
							<option>重要不紧急</option>
							<option>紧急不重要</option>
							<option>不紧急不重要</option>
						</select>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="multiSelect">负责人</label>
					<div class="controls">
						<select name="person">
							<option>tom</option>
							<option>jerry</option>
							
						</select>
					</div>
				</div>
				<div class="sed-1">
					<input type="hidden" name="userid" value="${user.id }">
					<button type="submit" id="btn" class="btn btn-primary">保存</button>
					
					<a href="goal.jspx?_m=get&id=${goal.id }"class="btn" >返回</a>
				</div>
			</fieldset>
		</form>
	</div>
	
</body>
</html>